bitkeeper revision 1.1062.4.1 (40f2bcf53gcaS9OsNyD24qwazvX8ug)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 12 Jul 2004 16:31:49 +0000 (16:31 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 12 Jul 2004 16:31:49 +0000 (16:31 +0000)
Work around Linux 2.6 bug by always setting an NFS server on the ip=
section of a kernel command line. We use the dummy value of '1.2.3.4'.
Barf.

tools/python/xen/xm/create.py

index 9e2975d24e2f2141b7ee1ac4a602b0fcda92ad2c..1e6b7dce4ad290244d2bf61e07b71d71d839b41c 100644 (file)
@@ -348,7 +348,7 @@ def preprocess_ip(opts, vals):
              or vals.gateway or vals.dhcp or vals.interface)
     if not setip: return
     ip = (vals.ip
-          + ':'
+          + ':' + '1.2.3.4'
           + ':' + vals.gateway
           + ':' + vals.netmask
           + ':' + vals.hostname